<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js">
    </script>
</head>
<body>
<div style="width: 100%;height: 500px;background: antiquewhite">
<img style="width: 100%;height: 200px;" src="{{$model['pic']}}">
<div>
    <span style="color: red" class="price">{{$model['pre_price']}}</span>
        <span style="color: orange">预售价</span>
</div>
    <div>
        <span>原价：¥{{$model['pre_price']}}</span>
        <span >已预订:{{$model['part1']}}个</span>
    </div>
    <h2>{{$model['goods_name']}}</h2>
    <div>
      <div>预售活动时间</div>
        <div>{{$model['start_time']}}0时0分--{{$model['end_time']}}0时0分</div>
    </div>
    <div>
        <div>优惠</div>
        <div>下定金200<span style="color: red;font-weight: bolder">最终抵扣X2</span>！！！！！</div>
    </div>
    <form action="/order">
    <input type="hidden" name="goods_id" value="{{$model['id']}}">
    <input type="hidden" name="type" value="{{$model['type']}}">
    <input type="hidden" name="price" value="{{$model['pre_price']}}">
    <input type="hidden" name="real_price" value="200">
    @if($model['type'] == 1)
    <input type="submit" style="margin-top: 20px;width: 100px;height: 35px" value="立即全款预约">
    @else
    <input type="submit" style="margin-top: 20px;width: 100px;height: 35px" value="立即定金预约">
    @endif
    </form>
</div>
</body>
</html>


